.TH "D:/FEUP/LCOM/WorkC/projecto/trunk/copyboot.c" 3 "25 May 2010" "Colision" \" -*- nroff -*-
.ad l
.nh
.SH NAME
D:/FEUP/LCOM/WorkC/projecto/trunk/copyboot.c \- 
.SH SYNOPSIS
.br
.PP
\fC#include <stdio.h>\fP
.br
\fC#include <stdlib.h>\fP
.br
\fC#include <stdarg.h>\fP
.br
\fC#include <string.h>\fP
.br
\fC#include <memory.h>\fP
.br
\fC#include <bios.h>\fP
.br

.SS "Data Structures"

.in +1c
.ti -1c
.RI "struct \fBPARAMS\fP"
.br
.in -1c
.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBFALSE\fP   0"
.br
.ti -1c
.RI "#define \fBTRUE\fP   1"
.br
.ti -1c
.RI "#define \fBSECTOR_SIZE\fP   512"
.br
.ti -1c
.RI "#define \fBPCK\fP   __attribute__((packed))"
.br
.in -1c
.SS "Typedefs"

.in +1c
.ti -1c
.RI "typedef int \fBBOOL\fP"
.br
.ti -1c
.RI "typedef unsigned char \fBBYTE8\fP"
.br
.ti -1c
.RI "typedef unsigned short \fBWORD16\fP"
.br
.ti -1c
.RI "typedef unsigned long \fBDWORD32\fP"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "char ** \fB__crt0_glob_function\fP (char *arg)"
.br
.ti -1c
.RI "void \fB__crt0_load_environment_file\fP (char *progname)"
.br
.ti -1c
.RI "void \fBAbort\fP (char *fmt,...)"
.br
.ti -1c
.RI "\fBBOOL\fP \fBFAT12\fP (int drive)"
.br
.ti -1c
.RI "\fBBOOL\fP \fBFAT16\fP (int drive)"
.br
.ti -1c
.RI "\fBBYTE8\fP * \fBGetFAT\fP (int drive)"
.br
.ti -1c
.RI "\fBBOOL\fP \fBRead_Sector\fP (int drive, int sector, void *buffer)"
.br
.ti -1c
.RI "\fBBOOL\fP \fBRW_Sector\fP (int command, int drive, int sector, void *buffer)"
.br
.ti -1c
.RI "void \fBSummary\fP (\fBPARAMS\fP *p)"
.br
.ti -1c
.RI "void \fBUsage\fP (void)"
.br
.ti -1c
.RI "\fBBOOL\fP \fBWrite_Sector\fP (int drive, int sector, void *buffer)"
.br
.ti -1c
.RI "int \fBmain\fP (int argc, char *argv[])"
.br
.in -1c
.SS "Variables"

.in +1c
.ti -1c
.RI "\fBBOOL\fP \fBsummary\fP = FALSE"
.br
.in -1c
.SH "Define Documentation"
.PP 
.SS "#define FALSE   0"
.SS "#define PCK   __attribute__((packed))"
.SS "#define SECTOR_SIZE   512"
.SS "#define TRUE   1"
.SH "Typedef Documentation"
.PP 
.SS "typedef int \fBBOOL\fP"
.SS "typedef unsigned char \fBBYTE8\fP"
.SS "typedef unsigned long \fBDWORD32\fP"
.SS "typedef unsigned short \fBWORD16\fP"
.SH "Function Documentation"
.PP 
.SS "char** __crt0_glob_function (char * arg)"
.SS "void __crt0_load_environment_file (char * progname)"
.SS "void Abort (char * fmt,  ...)"
.SS "\fBBOOL\fP FAT12 (int drive)"
.SS "\fBBOOL\fP FAT16 (int drive)"
.SS "\fBBYTE8\fP * GetFAT (int drive)"
.SS "int main (int argc, char * argv[])"
.SS "\fBBOOL\fP Read_Sector (int drive, int sector, void * buffer)"
.SS "\fBBOOL\fP RW_Sector (int command, int drive, int sector, void * buffer)"
.SS "void Summary (\fBPARAMS\fP * p)"
.SS "void Usage (void)"
.SS "\fBBOOL\fP Write_Sector (int drive, int sector, void * buffer)"
.SH "Variable Documentation"
.PP 
.SS "\fBBOOL\fP \fBsummary\fP = FALSE"
.SH "Author"
.PP 
Generated automatically by Doxygen for Colision from the source code.
